package com.macro.mall.portal.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @ClassName ApiCOnfig
 * @Description 描述
 * @Author bai
 * @Date 2024/10/22 16:22
 */

@Component
@ConfigurationProperties(prefix = "api")
@Data
public class ApiConfig {

    @Value("${150.158.86.96.host:default_value}")
    private String host;

    @Value("${150.158.86.96.method:default_value}")
    private String method;

    @Value("${150.158.86.96.app_code:default_value}")
    private String appCode;

    @Value("${150.158.86.96.path:default_value}")
    private String path;
}
